package com.movie.ticket.sale.movieinterface.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ticket
 * @since 2020-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order_ticket")
public class TOrderTicket implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户订单分票详情
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单id
     */
    private Integer orderMovieId;

    /**
     * 座位号
     */
    private String seatNumber;

    /**
     * 生成/修改时间
     */
    private LocalDateTime data;

    /**
     * 1：占用  0：空闲 
     */
    private Integer state;


}
